package com.wpw.dream.instance;

/**
 * 看编译情况
 * 
 * Project Name：dream-test
 * ClassName：Constants
 * Description：
 * @author: wupengwei
 * @date: 2017年8月29日 下午3:30:48
 * note:
 *
 */
public class Constants {
	
	private static final String A = "这是常量";
	private static String B = "这是静态变量";
	private static final String C = new String("这是String常量");
	private static final Teacher T = new Teacher("haha", 1L);
	
	private static final int i = 2;
	private static final Integer I = 2;
	
	public static void main(String[] args) {
		/*String c = "这是变量";
		System.out.println(A);
		System.out.println(B);
		System.out.println(C);
		System.out.println(c);
		System.out.println(T.toString());
		System.out.println(i);
		System.out.println(I);*/
		double[] iArray = new double[3];
		System.out.println(iArray.length);
		for (int i = 0; i < iArray.length; i++) {
			System.out.println(iArray[i]);
		}
	}
}
